package com.yhd.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import java.io.Serializable;
import java.util.Date;

/**
 * 课程信息详细信息表
 */
@Data
public class SystemDictionaryDto implements Serializable {
    /**
     * 主键
     */
    @Column(name = "ID")
    @Id
    @ApiModelProperty(value = "ID")
    @GeneratedValue(strategy = GenerationType.IDENTITY, generator = "jdbc")
    private String id;

    /**
     * 活动数、课程数
     */
    @ApiModelProperty(value = "活动数、课程数")
    @Column(name = "courseNum")
    private Integer courseNum;

    /**
     * 名字
     */
    @ApiModelProperty(value = "名字")
    @Column(name = "name")
    private String name;

    /**
     * 组id
     */
    @ApiModelProperty(value = "组id100课程分类 200活动分类")
    @Column(name = "groupId")
    private String groupId;

    /**
     * 组名
     */
    @ApiModelProperty(value = "组名")
    @Column(name = "groupName")
    private String groupName;

    /**
     * 父id
     */
    @ApiModelProperty(value = "父id")
    @Column(name = "pid")
    private Integer pid;
    /**
     * 内容
     */
    @ApiModelProperty(value = "内容")
    @Column(name = "content")
    private String content;
    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    @Column(name = "sort")
    private Integer sort;
    /**
     * 属性1
     */
    @ApiModelProperty(value = "属性1")
    @Column(name = "attr1")
    private String attr1;
    /**
     * 属性2
     */
    @ApiModelProperty(value = "属性2")
    @Column(name = "attr2")
    private String attr2;
    /**
     * 属性3
     */
    @ApiModelProperty(value = "属性3")
    @Column(name = "attr3")
    private String attr3;

    /**
     * 状态 1:生效 0:未生效
     */
    @ApiModelProperty(value = "状态 1:生效 0:未生效")
    @Column(name = "status")
    private Integer status;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    @Column(name = "createUserId")
    private String createUserId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @Column(name = "createDate")
    private Date createDate;
    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    @Column(name = "updateUserId")
    private String updateUserId;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @Column(name = "updateDate")
    private Date updateDate;

}